package com.yugu.park.business.mapper;

import com.yugu.park.business.entity.AdmissionRecord;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import com.yugu.park.dto.AdmissionRecordDto;
import com.yugu.util.SysQueryParam;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
* @author Noble-Six
* @description 针对表【t_admission_record】的数据库操作Mapper
* @createDate 2024-04-25 10:59:55
* @Entity com/yugu/park/business.entity.AdmissionRecord
*/
@Mapper
public interface AdmissionRecordMapper extends BaseMapper<AdmissionRecord> {

    List<AdmissionRecordDto> page(@Param("search") SysQueryParam search);
    @MapKey("month")
    List<Map<String,Integer>> lineChart(@Param("year") int year);
}




